package cn.kgc.ssm.service.impl;

import cn.kgc.ssm.entity.Role;
import cn.kgc.ssm.mapper.RoleMapper;
import cn.kgc.ssm.service.RoleService;
import cn.kgc.ssm.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: mosin
 * @version: v1.0  2022/7/11
 */
@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    private RoleMapper roleMapper;

    @Override
    public List<Role> selectAll() {
        return  roleMapper.selectAll();
    }
}
